[INFO] cloning repository https://github.com/LateinCecer/corrosive_physics
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LateinCecer/corrosive_physics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLateinCecer%2Fcorrosive_physics", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLateinCecer%2Fcorrosive_physics'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f3551a7e6fa457b6a82442972795c7d77095398a
[INFO] fixing LateinCecer/corrosive_physics against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLateinCecer%2Fcorrosive_physics" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LateinCecer/corrosive_physics
[INFO] finished tweaking git repo https://github.com/LateinCecer/corrosive_physics
[INFO] tweaked toml for git repo https://github.com/LateinCecer/corrosive_physics written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LateinCecer/corrosive_physics on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LateinCecer/corrosive_physics already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] cba48bd39a097f5e12ed077355c6b8b09de33c461b15731ff748ee47a1335f48
[INFO] running `Command { std: "docker" "start" "cba48bd39a097f5e12ed077355c6b8b09de33c461b15731ff748ee47a1335f48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cba48bd39a097f5e12ed077355c6b8b09de33c461b15731ff748ee47a1335f48" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cba48bd39a097f5e12ed077355c6b8b09de33c461b15731ff748ee47a1335f48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cba48bd39a097f5e12ed077355c6b8b09de33c461b15731ff748ee47a1335f48" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling proc-macro2 v1.0.67
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]     Checking rawpointer v0.2.1
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking matrixmultiply v0.3.2
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking safe_arch v1.0.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]     Checking wide v1.4.0
[INFO] [stderr]    Compiling syn v2.0.37
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]    Compiling nalgebra-macros v0.3.0
[INFO] [stderr]     Checking num-complex v0.4.4
[INFO] [stderr]     Checking simba v0.10.0
[INFO] [stderr]     Checking num v0.4.1
[INFO] [stderr]     Checking nalgebra v0.35.0
[INFO] [stderr]     Checking corrosive_physics v0.1.6 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/system/inertia.rs (9 fixes)
[INFO] [stderr]        Fixed src/engine.rs (1 fix)
[INFO] [stderr]        Fixed src/volume/bvh_splitting.rs (3 fixes)
[INFO] [stderr]        Fixed src/helper/separated_axis.rs (6 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/engine.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |             PHYSICS_ENGINE.lock()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/engine.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |             PHYSICS_ENGINE.lock_mut()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/bin/cubes.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/engine.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |             PHYSICS_ENGINE.lock()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/engine.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |             PHYSICS_ENGINE.lock_mut()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 31.21s
[INFO] [stderr] crater-edition-check: corrosive_physics v0.1.6 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking corrosive_physics v0.1.6 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `err`
[INFO] [stdout]   --> src/system/inertia.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub(crate) use err;
[INFO] [stdout]    |                ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `err`
[INFO] [stdout]   --> src/system/inertia.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub(crate) use err;
[INFO] [stdout]    |                ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/helper.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let d = T::simd_sqrt(T::one());
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]   --> src/helper.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let d = T::simd_sqrt(T::one());
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/collision.rs:29:26
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn intersects(&self, other: &AABB<T, 3>) -> bool {
[INFO] [stdout]    |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/collision.rs:35:26
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn intersects(&self, other: &OBB<T>) -> bool {
[INFO] [stdout]    |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/collision.rs:41:26
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn intersects(&self, other: &Vector3<T>) -> bool {
[INFO] [stdout]    |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `msg` and `ty` are never read
[INFO] [stdout]   --> src/system/inertia.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Error {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 22 |     msg: Option<String>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 23 |     ty: ErrorType,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `collider_id` is never read
[INFO] [stdout]   --> src/system/object.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct PhyEntity<T: BaseFloat> {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 |     collider_id: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/helper.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn test<T: BaseFloat>() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CondIndex` is never used
[INFO] [stdout]    --> src/volume/tlas.rs:179:6
[INFO] [stdout]     |
[INFO] [stdout] 179 | enum CondIndex {
[INFO] [stdout]     |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `matches_index` and `unwrap` are never used
[INFO] [stdout]    --> src/volume/tlas.rs:199:8
[INFO] [stdout]     |
[INFO] [stdout] 198 | impl CondIndex {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] 199 |     fn matches_index(&self, i: usize) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     fn unwrap(&self) -> &usize {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `collider` is never read
[INFO] [stdout]   --> src/engine.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct PhysicsEngine<T: BaseFloat> {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 54 |     collider: HashMap<usize, Box<dyn Collider<T, 3>>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `trigger` and `collider` are never read
[INFO] [stdout]   --> src/collision.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct ColliderVolume<'a, T> {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 23 |     trigger: MovementTrigger<T>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 24 |     collider: &'a dyn Collider<T, 3>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Edge` is never used
[INFO] [stdout]  --> src/collision/collision_primitive.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type Edge = (usize, usize);
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CollisionPrimitive` is never used
[INFO] [stdout]  --> src/collision/collision_primitive.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub trait CollisionPrimitive<T, const DIM: usize> {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RayIntersection` is never constructed
[INFO] [stdout]  --> src/collision/intersection.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct RayIntersection<T, const DIM: usize> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ray` is never constructed
[INFO] [stdout]  --> src/collision/intersection.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Ray<T, const DIM: usize> {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VertexBuffer` is never constructed
[INFO] [stdout]  --> src/collision/model.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct VertexBuffer<T, const DIM: usize> {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `transformed` and `transform_mut` are never used
[INFO] [stdout]   --> src/collision/model.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | / impl<T> VertexBuffer<T, 3>
[INFO] [stdout] 12 | | where T: BaseFloat {
[INFO] [stdout]    | |__________________- methods in this implementation
[INFO] [stdout] 13 |       pub fn transformed(&self, transform: &Transformer<T>) -> Self {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |       pub fn transform_mut(&mut self, transform: &Transformer<T>) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndexBuffer` is never constructed
[INFO] [stdout]   --> src/collision/model.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct IndexBuffer {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PhysicsMesh` is never constructed
[INFO] [stdout]   --> src/collision/model.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct PhysicsMesh<T, Primitive: CollisionPrimitive<T, DIM>, const DIM: usize> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `vertex` is never used
[INFO] [stdout]   --> src/collision/model.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl<T, Primitive: CollisionPrimitive<T, DIM>, const DIM: usize> PhysicsMesh<T, Primitive, DIM> {
[INFO] [stdout]    | ----------------------------------------------------------------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn vertex(&self, idx: usize) -> &SVector<T, DIM> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/engine.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |             PHYSICS_ENGINE.lock()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/engine.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |             PHYSICS_ENGINE.lock_mut()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/volume/bvh.rs:449:13
[INFO] [stdout]     |
[INFO] [stdout] 449 |         let mut elements = VecPool::<Test<2>>::with_capacity(10);
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `corrosive_physics` (lib) due to 2 previous errors; 21 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/collision.rs:29:26
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn intersects(&self, other: &AABB<T, 3>) -> bool {
[INFO] [stdout]    |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/collision.rs:35:26
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn intersects(&self, other: &OBB<T>) -> bool {
[INFO] [stdout]    |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `other`
[INFO] [stdout]   --> src/collision.rs:41:26
[INFO] [stdout]    |
[INFO] [stdout] 41 |     fn intersects(&self, other: &Vector3<T>) -> bool {
[INFO] [stdout]    |                          ^^^^^ help: if this is intentional, prefix it with an underscore: `_other`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `msg` and `ty` are never read
[INFO] [stdout]   --> src/system/inertia.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub struct Error {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 22 |     msg: Option<String>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 23 |     ty: ErrorType,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `collider_id` is never read
[INFO] [stdout]   --> src/system/object.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct PhyEntity<T: BaseFloat> {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 35 |     collider_id: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]   --> src/helper.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn test<T: BaseFloat>() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CondIndex` is never used
[INFO] [stdout]    --> src/volume/tlas.rs:179:6
[INFO] [stdout]     |
[INFO] [stdout] 179 | enum CondIndex {
[INFO] [stdout]     |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `matches_index` and `unwrap` are never used
[INFO] [stdout]    --> src/volume/tlas.rs:199:8
[INFO] [stdout]     |
[INFO] [stdout] 198 | impl CondIndex {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] 199 |     fn matches_index(&self, i: usize) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 206 |     fn unwrap(&self) -> &usize {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `collider` is never read
[INFO] [stdout]   --> src/engine.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct PhysicsEngine<T: BaseFloat> {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 54 |     collider: HashMap<usize, Box<dyn Collider<T, 3>>>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `trigger` and `collider` are never read
[INFO] [stdout]   --> src/collision.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct ColliderVolume<'a, T> {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 23 |     trigger: MovementTrigger<T>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 24 |     collider: &'a dyn Collider<T, 3>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Edge` is never used
[INFO] [stdout]  --> src/collision/collision_primitive.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub type Edge = (usize, usize);
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CollisionPrimitive` is never used
[INFO] [stdout]  --> src/collision/collision_primitive.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub trait CollisionPrimitive<T, const DIM: usize> {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RayIntersection` is never constructed
[INFO] [stdout]  --> src/collision/intersection.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct RayIntersection<T, const DIM: usize> {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Ray` is never constructed
[INFO] [stdout]  --> src/collision/intersection.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct Ray<T, const DIM: usize> {
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VertexBuffer` is never constructed
[INFO] [stdout]  --> src/collision/model.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct VertexBuffer<T, const DIM: usize> {
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `transformed` and `transform_mut` are never used
[INFO] [stdout]   --> src/collision/model.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | / impl<T> VertexBuffer<T, 3>
[INFO] [stdout] 12 | | where T: BaseFloat {
[INFO] [stdout]    | |__________________- methods in this implementation
[INFO] [stdout] 13 |       pub fn transformed(&self, transform: &Transformer<T>) -> Self {
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |       pub fn transform_mut(&mut self, transform: &Transformer<T>) {
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndexBuffer` is never constructed
[INFO] [stdout]   --> src/collision/model.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct IndexBuffer {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PhysicsMesh` is never constructed
[INFO] [stdout]   --> src/collision/model.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub struct PhysicsMesh<T, Primitive: CollisionPrimitive<T, DIM>, const DIM: usize> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `vertex` is never used
[INFO] [stdout]   --> src/collision/model.rs:65:12
[INFO] [stdout]    |
[INFO] [stdout] 59 | impl<T, Primitive: CollisionPrimitive<T, DIM>, const DIM: usize> PhysicsMesh<T, Primitive, DIM> {
[INFO] [stdout]    | ----------------------------------------------------------------------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub fn vertex(&self, idx: usize) -> &SVector<T, DIM> {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/engine.rs:95:13
[INFO] [stdout]    |
[INFO] [stdout] 95 |             PHYSICS_ENGINE.lock()
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/engine.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |             PHYSICS_ENGINE.lock_mut()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `corrosive_physics` (lib test) due to 2 previous errors; 22 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cba48bd39a097f5e12ed077355c6b8b09de33c461b15731ff748ee47a1335f48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cba48bd39a097f5e12ed077355c6b8b09de33c461b15731ff748ee47a1335f48", kill_on_drop: false }`
[INFO] [stdout] cba48bd39a097f5e12ed077355c6b8b09de33c461b15731ff748ee47a1335f48
